package com.fifth.apartment.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Schema(description = "杂项费用名称表")
@TableName(value = "fee")
@ApiModel(value="Fee对象", description="费用信息表")
@Data
public class FeeKey implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "配置信息表")
    @ApiModelProperty(value = "配置id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "付款项key")
    @ApiModelProperty(value = "配置名称")
    @TableField(value = "name")
    private String name;

    @Schema(description = "逻辑删除")
    @TableField(value = "is_deleted")
    @TableLogic
    @JsonIgnore
    private Byte isDeleted;



}